debian/rules: Refresh build cmake options
authorBoyuan Yang <byang@debian.org>
Sun, 19 Sep 2021 00:20:08 +0000 (20:20 -0400)
committerBoyuan Yang <byang@debian.org>
Sun, 19 Sep 2021 00:20:11 +0000 (20:20 -0400)
debian/rules

index 250a00705b06bf8a17a01eea168ffd3573f9d3ea..2fef24c850ca651a8768f361ec5a819928f955f2 100755 (executable)
@@ -17,7 +17,12 @@ BUILD_OPTIONS = \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_INSTALL_LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)/ \
     -DCMAKE_BUILD_TYPE=Release \
-    -DBUILD_BUNDLED_LIBMARISA=OFF
+    -DUSE_SYSTEM_DARTS=ON \
+    -DUSE_SYSTEM_GTEST=ON \
+    -DUSE_SYSTEM_MARISA=ON \
+    -DUSE_SYSTEM_PYBIND11=ON \
+    -DUSE_SYSTEM_RAPIDJSON=ON \
+    -DUSE_SYSTEM_TCLAP=ON
 
 ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
 BUILD_OPTIONS += -DBUILD_DOCUMENTATION=ON